package com.itsm.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itsm.entity.Control;
import org.apache.ibatis.annotations.Select;

public interface RoleMapper extends BaseMapper<Control> {
    @Select("SELECT staff_num,name,menu1,menu2,menu3,menu4 FROM control where staff_num = #{staff}")
    Control getAll(String staff);


}
